-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New manifest and action level logs with new strip and tail options #303
Conversation
Codecov Report
@@ Coverage Diff @@
## master #303 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 27 27
Lines 1246 1242 -4
Branches 218 218
=========================================
- Hits 1246 1242 -4
Continue to review full report at Codecov.
|
} | ||
filterActions = [actionName] | ||
} else { | ||
Object.entries(config.manifest.full.packages).forEach((packageTuple) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a little gnarly, not sure it could be any better though
description: 'strip timestamp information and output first line only', | ||
default: false | ||
}), | ||
tail: flags.boolean({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is tail our final choice? should we alias it with watch
?
what is the point of adding a default for -a? if they want to get logs for an action or actions, they would need to specify it ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx @purplecabbage . Removed action default and added aliases.
Description
Fixes #96 among other enhancements as described in https://wiki.corp.adobe.com/display/AdobeCloudPlatform/Consolidation+of+logs+command+in+runtime+and+app+plugins
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: